
#include <machine/asm.h>
ENTRY(memset)
	pushl	%edi
	movl	8(%esp), %edi
	movl	12(%esp), %eax
	movl	16(%esp), %ecx
	pushl	%edi
	rep
	stosb
	popl	%eax
	popl	%edi
	ret
END(memset)
